<?php
$match = FALSE;
$uri = $_SERVER["REQUEST_URI"];

if(preg_match("`^/(schilder|beeldhouwer)`is", $uri)){
    $match = TRUE;
    if(preg_match("`archief/?$`is", $uri)){
        $match = FALSE;
    }
}

return $match;